import http from '@/utils/request'

export function fileUpload(file, folder) {
  console.log(file);
}

export function getUrl(file, folder) {
  let params = {
    fileName: folder + "/" + file.name,
  };
  return http.post("/oss/file/getFileUrl", params);
}
